IF FOES CEASE THEN YOU MUST CEASE
the Holy Qur'an

And fight them on until there is no more Tumult or oppression, and there prevail justice and faith in God; but if they cease, Let there be no hostility except to those who practise oppression. (2:193)

Except those who join a group between whom and you there is a treaty (of peace), or those who approach you with hearts restraining them from fighting you as well as fighting their own people. If God had pleased, He could have given them power over you, and they would have fought you: Therefore if they withdraw from you but fight you not, and (instead) send you (Guarantees of) peace, then God Hath opened no way for you (to war against them). (4:90)

In order that God may separate the impure from the pure, put the impure, one on another, heap them together, and cast them into Hell. They will be the ones to have lost. (8:37)

But if the enemy incline towards peace, do thou (also) incline towards peace, and trust in God: for He is One that heareth and knoweth (all things). (8:61)

End of Quotes